Skip to content

Doc: Update the doc of out_dmk#7240

Open
sunliang98 wants to merge 6 commits intodeepmodeling:developfrom
sunliang98:doc
Open

Doc: Update the doc of out_dmk#7240
sunliang98 wants to merge 6 commits intodeepmodeling:developfrom
sunliang98:doc

Conversation

@sunliang98
Copy link
Copy Markdown
Collaborator

Reminder

  • Have you linked an issue with this pull request?
  • Have you added adequate unit tests and/or case tests for your pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

Fix #7225

Unit Tests and/or Case Tests for my changes

  • A unit test is added for each new feature or bug fix.

What's changed?

  • Example: My changes might affect the performance of the application under certain conditions, and I have tested the impact on various scenarios...

Any changes of core modules? (ignore if not applicable)

  • Example: I have added a new virtual function in the esolver base class in order to ...

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates user-facing documentation for density-matrix output keywords, clarifying differences between develop and 3.10-LTS naming/behavior.

Changes:

  • Expanded out_dmk notes to explicitly describe develop vs 3.10-LTS keyword/file naming differences.
  • Refined density-matrix documentation to distinguish gamma-only vs multi-k outputs and to mention out_dmr multi-k-only constraint.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/parameters.yaml Expands the out_dmk NOTE to describe develop vs 3.10-LTS keyword/file naming.
docs/advanced/input_files/input-main.md Mirrors the expanded out_dmk version-difference note in the INPUT keyword reference.
docs/advanced/elec_properties/density_matrix.md Adds a version-specific summary and more detailed (gamma vs multi-k) output descriptions for density-matrix docs.
Comments suppressed due to low confidence (1)

docs/advanced/elec_properties/density_matrix.md:20

  • The example file content shown below appears to be for an older density-matrix output format (it starts with the lattice name), but ModuleIO::write_dmk() currently writes an "--- Ionic Step ... ---" header plus metadata lines before the cell info and matrix values. The example (and the following explanation of the first lines) should be updated to match the current out_dmk file format so users can parse it correctly.
The file content looks like:

test
5.39761
0.5 0.5 0
0.5 0 0.5

</details>



---

💡 <a href="/deepmodeling/abacus-develop/new/develop?filename=.github/instructions/*.instructions.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href="https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn how to get started</a>.

Comment thread docs/advanced/elec_properties/density_matrix.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The out_dm function has a bug on ABACUS LTS-3.10.1

2 participants